package com.team7.happycommunity.businessservice.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.io.Serializable;

/**
 * (BusinessInfo)实体类
 *
 * @author makejava
 * @since 2020-03-25 20:07:24
 */
@ApiModel(value = "商家信息实体类")
public class BusinessInfo implements Serializable {
    private static final long serialVersionUID = -76729269658911894L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "身份证")
    private String idNumber;
    @ApiModelProperty(value = "手机号")
    private String cellPhNumber;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "性别")
    private Integer sex;
    @ApiModelProperty(value = "昵称")
    private String nickname;
    @ApiModelProperty(value = "邮箱")
    private String mailbox;
    @ApiModelProperty(value = "小区id")
    private Integer plotId;
    @ApiModelProperty(value = "标签")
    private String tag;
    @ApiModelProperty(value = "邮箱状态")
    private Integer mailboxStatus;
    @ApiModelProperty(value = "邮箱的令牌")
    private String code;
    @ApiModelProperty(value = "盐")
    private String passwordSalt;
    @ApiModelProperty(value = "账户创建时间")
    private Date createTime;
    @ApiModelProperty(value = "是否认证")
    private String authentication;
    @ApiModelProperty(value = "申请认证时间")
    private Date authTime;
    /**
    * 账号状态 0 未通过审核 1通过审核
    */
    @ApiModelProperty(value = "账号状态")
    private Integer status;
    @ApiModelProperty(value = "商家地址")
    private String address;
    @ApiModelProperty(value = "商家介绍")
    private String introduce;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getCellPhNumber() {
        return cellPhNumber;
    }

    public void setCellPhNumber(String cellPhNumber) {
        this.cellPhNumber = cellPhNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public Integer getPlotId() {
        return plotId;
    }

    public void setPlotId(Integer plotId) {
        this.plotId = plotId;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Integer getMailboxStatus() {
        return mailboxStatus;
    }

    public void setMailboxStatus(Integer mailboxStatus) {
        this.mailboxStatus = mailboxStatus;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPasswordSalt() {
        return passwordSalt;
    }

    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAuthentication() {
        return authentication;
    }

    public void setAuthentication(String authentication) {
        this.authentication = authentication;
    }

    public Date getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Date authTime) {
        this.authTime = authTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    @Override
    public String toString() {
        return "BusinessInfo{" +
                "id=" + id +
                ", idNumber='" + idNumber + '\'' +
                ", cellPhNumber='" + cellPhNumber + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", nickname='" + nickname + '\'' +
                ", mailbox='" + mailbox + '\'' +
                ", plotId=" + plotId +
                ", tag='" + tag + '\'' +
                ", mailboxStatus=" + mailboxStatus +
                ", code='" + code + '\'' +
                ", passwordSalt='" + passwordSalt + '\'' +
                ", createTime=" + createTime +
                ", authentication='" + authentication + '\'' +
                ", authTime=" + authTime +
                ", status=" + status +
                ", address='" + address + '\'' +
                ", introduce='" + introduce + '\'' +
                '}';
    }
}